<!-- #include file="_kudzu.asp" -->
<%
'------------------------------------------------------------
' Create an instance of the template engine
'------------------------------------------------------------
Dim T_ENGINE,T_CONT
Set T_ENGINE = New CTemplateEngine



'------------------------------------------------------------
' Set some values into the template engine
'------------------------------------------------------------

dim iNumero, sStringa, bBoolean
dim iDati(2)
iDati(0) = 0
iDati(1) = 1
iDati(2) = 2








T_ENGINE.PutValue "PageTitle", "KudzuASP"
T_ENGINE.PutValue "PageSubTitle", "General Examples - Conditional Content"
T_ENGINE.PutValue "BoolRandom", (Timer Mod 2) = 1
T_ENGINE.PutValue "content", "[testo da inserire]"
T_ENGINE.PutValue "PageDate", NOW
T_ENGINE.PutValue "PageTime", NOW
T_ENGINE.PutValue "array", iDati
T_ENGINE.PutValue "caseSelect", "testCase1"
'------------------------------------------------------------
' Load the template and Generate Ouput
'------------------------------------------------------------

T_ENGINE.ParseFile Server.MapPath("template.html")
T_ENGINE.EvalTemplate
%>
